package com.order.bill.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单管理对象 order_bill
 * 
 * @author huhu
 * @date 2020-08-19
 */
public class OrderBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long billId;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private Long userId;

    /** 桌码ID */
    @Excel(name = "桌码ID")
    private Long deskId;

    /** 食品ID */
    @Excel(name = "食品ID")
    private String foodId;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal totalPrice;

    public void setBillId(Long billId)
    {
        this.billId = billId;
    }

    public Long getBillId()
    {
        return billId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeskId(Long deskId)
    {
        this.deskId = deskId;
    }

    public Long getDeskId()
    {
        return deskId;
    }
    public void setFoodId(String foodId)
    {
        this.foodId = foodId;
    }

    public String getFoodId()
    {
        return foodId;
    }
    public void setTotalPrice(BigDecimal totalPrice)
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice()
    {
        return totalPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("billId", getBillId())
            .append("userId", getUserId())
            .append("deskId", getDeskId())
            .append("foodId", getFoodId())
            .append("totalPrice", getTotalPrice())
            .toString();
    }
}
